package com.lk.ii.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lk.common.annotation.Excel;
import com.lk.common.core.domain.BaseEntity;

/**
 * 评论对象 ii_comment
 * 
 * @author lk
 * @date 2021-02-22
 */
public class IiComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 类别 */
    @Excel(name = "类别")
    private String type;

    /** 评论对象ID */
    @Excel(name = "评论对象ID")
    private Long objectId;

    /** 回复ID */
    @Excel(name = "回复ID")
    private Long replyId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setObjectId(Long objectId) 
    {
        this.objectId = objectId;
    }

    public Long getObjectId() 
    {
        return objectId;
    }
    public void setReplyId(Long replyId) 
    {
        this.replyId = replyId;
    }

    public Long getReplyId() 
    {
        return replyId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("objectId", getObjectId())
            .append("replyId", getReplyId())
            .append("userId", getUserId())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .toString();
    }
}
